/**
 * @file voice_uart.h
 * @author your name (you@domain.com)
 * @brief
 * @version 0.1
 * @date 2023-07-24
 *
 * @copyright Copyright (c) 2023
 *
*/
#ifndef VOICE_UART_H
#define VOICE_UART_H

#define UART_SEND_MAX      16

typedef enum {
    UART_RX_CMD_NONE = -1,
    UART_RX_CMD_UNI = 0,
    UART_RX_CMD_OPENL,
    UART_RX_CMD_CLOSEL,
}uart_rx_cmd_t;

typedef struct {
    char  data[UART_SEND_MAX];
    int   len;
}uart_data_t;

void voice_uart_task(void* arg);
#endif